package net.yunxinyong.cec.entity;

import net.yunxinyong.cec.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Cec711ThreeEntity {
    private Integer id;

    private Integer baseId;

    private BigDecimal totalCurrentAssets;

    private BigDecimal stock;

    private BigDecimal longTermInvestment;

    private BigDecimal fixedAssets;

    private BigDecimal housesStructures;

    private BigDecimal machineryEquipment;

    private BigDecimal conveyance;

    private BigDecimal electronicEquipment;

    private BigDecimal constructionProject;

    private BigDecimal intangibleAssets;

    private BigDecimal landUseRight;

    private BigDecimal softwareUseRight;

    private BigDecimal publicInfrastructure;

    private BigDecimal publicInfrastructureDepreciation;

    private BigDecimal totalAssets;

    private BigDecimal totalDebt;

    private BigDecimal totalNetAssets;

    private BigDecimal totalIncome;

    private BigDecimal financialAppropriation;

    private BigDecimal causeIncome;

    private BigDecimal operatingIncome;

    private BigDecimal totalExpenditure;

    private BigDecimal welfareExpenditure;

    private BigDecimal serviceExpenditure;

    private BigDecimal subsidy;

    private BigDecimal retired;

    private BigDecimal operatingExpenses;

    private BigDecimal taxOnSales;

    private Integer finalEmployeesNumber;

    private Integer femaleNumber;

    private Integer averageEmployeesNumber;

    private BigDecimal totalWages;

    private Integer reason;

    private String upOrganizationCode;

    private String upSocialCreditCode;

    private String upUnitDetailedName;

    private BigDecimal eBusinessProcurement;

    private String unitHead;

    private String statisticalControlOfficer;

    private String fillFormBy;

    private String phone;

    private Integer state;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date updateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;
    private Integer status;
    //格式化后的表更新日期
    private String newupdateTime;
    //格式化后的表创建日期
    private String newcreateTime;

    public String getNewupdateTime() {
        return DateUtil.formatDateToStr(this.updateTime);
    }

    public void setNewupdateTime(String newupdateTime) {
        this.newupdateTime = newupdateTime;
    }

    public String getNewcreateTime() {
        return DateUtil.formatDateToStr(this.createTime);
    }

    public void setNewcreateTime(String newcreateTime) {
        this.newcreateTime = newcreateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBaseId() {
        return baseId;
    }

    public void setBaseId(Integer baseId) {
        this.baseId = baseId;
    }

    public BigDecimal getTotalCurrentAssets() {
        return totalCurrentAssets;
    }

    public void setTotalCurrentAssets(BigDecimal totalCurrentAssets) {
        this.totalCurrentAssets = totalCurrentAssets;
    }

    public BigDecimal getStock() {
        return stock;
    }

    public void setStock(BigDecimal stock) {
        this.stock = stock;
    }

    public BigDecimal getLongTermInvestment() {
        return longTermInvestment;
    }

    public void setLongTermInvestment(BigDecimal longTermInvestment) {
        this.longTermInvestment = longTermInvestment;
    }

    public BigDecimal getFixedAssets() {
        return fixedAssets;
    }

    public void setFixedAssets(BigDecimal fixedAssets) {
        this.fixedAssets = fixedAssets;
    }

    public BigDecimal getHousesStructures() {
        return housesStructures;
    }

    public void setHousesStructures(BigDecimal housesStructures) {
        this.housesStructures = housesStructures;
    }

    public BigDecimal getMachineryEquipment() {
        return machineryEquipment;
    }

    public void setMachineryEquipment(BigDecimal machineryEquipment) {
        this.machineryEquipment = machineryEquipment;
    }

    public BigDecimal getConveyance() {
        return conveyance;
    }

    public void setConveyance(BigDecimal conveyance) {
        this.conveyance = conveyance;
    }

    public BigDecimal getElectronicEquipment() {
        return electronicEquipment;
    }

    public void setElectronicEquipment(BigDecimal electronicEquipment) {
        this.electronicEquipment = electronicEquipment;
    }

    public BigDecimal getConstructionProject() {
        return constructionProject;
    }

    public void setConstructionProject(BigDecimal constructionProject) {
        this.constructionProject = constructionProject;
    }

    public BigDecimal getIntangibleAssets() {
        return intangibleAssets;
    }

    public void setIntangibleAssets(BigDecimal intangibleAssets) {
        this.intangibleAssets = intangibleAssets;
    }

    public BigDecimal getLandUseRight() {
        return landUseRight;
    }

    public void setLandUseRight(BigDecimal landUseRight) {
        this.landUseRight = landUseRight;
    }

    public BigDecimal getSoftwareUseRight() {
        return softwareUseRight;
    }

    public void setSoftwareUseRight(BigDecimal softwareUseRight) {
        this.softwareUseRight = softwareUseRight;
    }

    public BigDecimal getPublicInfrastructure() {
        return publicInfrastructure;
    }

    public void setPublicInfrastructure(BigDecimal publicInfrastructure) {
        this.publicInfrastructure = publicInfrastructure;
    }

    public BigDecimal getPublicInfrastructureDepreciation() {
        return publicInfrastructureDepreciation;
    }

    public void setPublicInfrastructureDepreciation(BigDecimal publicInfrastructureDepreciation) {
        this.publicInfrastructureDepreciation = publicInfrastructureDepreciation;
    }

    public BigDecimal getTotalAssets() {
        return totalAssets;
    }

    public void setTotalAssets(BigDecimal totalAssets) {
        this.totalAssets = totalAssets;
    }

    public BigDecimal getTotalDebt() {
        return totalDebt;
    }

    public void setTotalDebt(BigDecimal totalDebt) {
        this.totalDebt = totalDebt;
    }

    public BigDecimal getTotalNetAssets() {
        return totalNetAssets;
    }

    public void setTotalNetAssets(BigDecimal totalNetAssets) {
        this.totalNetAssets = totalNetAssets;
    }

    public BigDecimal getTotalIncome() {
        return totalIncome;
    }

    public void setTotalIncome(BigDecimal totalIncome) {
        this.totalIncome = totalIncome;
    }

    public BigDecimal getFinancialAppropriation() {
        return financialAppropriation;
    }

    public void setFinancialAppropriation(BigDecimal financialAppropriation) {
        this.financialAppropriation = financialAppropriation;
    }

    public BigDecimal getCauseIncome() {
        return causeIncome;
    }

    public void setCauseIncome(BigDecimal causeIncome) {
        this.causeIncome = causeIncome;
    }

    public BigDecimal getOperatingIncome() {
        return operatingIncome;
    }

    public void setOperatingIncome(BigDecimal operatingIncome) {
        this.operatingIncome = operatingIncome;
    }

    public BigDecimal getTotalExpenditure() {
        return totalExpenditure;
    }

    public void setTotalExpenditure(BigDecimal totalExpenditure) {
        this.totalExpenditure = totalExpenditure;
    }

    public BigDecimal getWelfareExpenditure() {
        return welfareExpenditure;
    }

    public void setWelfareExpenditure(BigDecimal welfareExpenditure) {
        this.welfareExpenditure = welfareExpenditure;
    }

    public BigDecimal getServiceExpenditure() {
        return serviceExpenditure;
    }

    public void setServiceExpenditure(BigDecimal serviceExpenditure) {
        this.serviceExpenditure = serviceExpenditure;
    }

    public BigDecimal getSubsidy() {
        return subsidy;
    }

    public void setSubsidy(BigDecimal subsidy) {
        this.subsidy = subsidy;
    }

    public BigDecimal getRetired() {
        return retired;
    }

    public void setRetired(BigDecimal retired) {
        this.retired = retired;
    }

    public BigDecimal getOperatingExpenses() {
        return operatingExpenses;
    }

    public void setOperatingExpenses(BigDecimal operatingExpenses) {
        this.operatingExpenses = operatingExpenses;
    }

    public BigDecimal getTaxOnSales() {
        return taxOnSales;
    }

    public void setTaxOnSales(BigDecimal taxOnSales) {
        this.taxOnSales = taxOnSales;
    }

    public Integer getFinalEmployeesNumber() {
        return finalEmployeesNumber;
    }

    public void setFinalEmployeesNumber(Integer finalEmployeesNumber) {
        this.finalEmployeesNumber = finalEmployeesNumber;
    }

    public Integer getFemaleNumber() {
        return femaleNumber;
    }

    public void setFemaleNumber(Integer femaleNumber) {
        this.femaleNumber = femaleNumber;
    }

    public Integer getAverageEmployeesNumber() {
        return averageEmployeesNumber;
    }

    public void setAverageEmployeesNumber(Integer averageEmployeesNumber) {
        this.averageEmployeesNumber = averageEmployeesNumber;
    }

    public BigDecimal getTotalWages() {
        return totalWages;
    }

    public void setTotalWages(BigDecimal totalWages) {
        this.totalWages = totalWages;
    }

    public Integer getReason() {
        return reason;
    }

    public void setReason(Integer reason) {
        this.reason = reason;
    }

    public String getUpOrganizationCode() {
        return upOrganizationCode;
    }

    public void setUpOrganizationCode(String upOrganizationCode) {
        this.upOrganizationCode = upOrganizationCode == null ? null : upOrganizationCode.trim();
    }

    public String getUpSocialCreditCode() {
        return upSocialCreditCode;
    }

    public void setUpSocialCreditCode(String upSocialCreditCode) {
        this.upSocialCreditCode = upSocialCreditCode == null ? null : upSocialCreditCode.trim();
    }

    public String getUpUnitDetailedName() {
        return upUnitDetailedName;
    }

    public void setUpUnitDetailedName(String upUnitDetailedName) {
        this.upUnitDetailedName = upUnitDetailedName == null ? null : upUnitDetailedName.trim();
    }

    public BigDecimal geteBusinessProcurement() {
        return eBusinessProcurement;
    }

    public void seteBusinessProcurement(BigDecimal eBusinessProcurement) {
        this.eBusinessProcurement = eBusinessProcurement;
    }

    public String getUnitHead() {
        return unitHead;
    }

    public void setUnitHead(String unitHead) {
        this.unitHead = unitHead == null ? null : unitHead.trim();
    }

    public String getStatisticalControlOfficer() {
        return statisticalControlOfficer;
    }

    public void setStatisticalControlOfficer(String statisticalControlOfficer) {
        this.statisticalControlOfficer = statisticalControlOfficer == null ? null : statisticalControlOfficer.trim();
    }

    public String getFillFormBy() {
        return fillFormBy;
    }

    public void setFillFormBy(String fillFormBy) {
        this.fillFormBy = fillFormBy == null ? null : fillFormBy.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}